PhpOffice\PhpSpreadsheet\Worksheet\Worksheet D

Total Complexity 413
Dependencies 47
Dependents 74
Total lines 3,674
Lines of code 1,443
Logical lines of code 830
Comment lines 1,312
Methods 172
Properties 45

Methods 172

Method Rating Maintainability Complexity Lines of code
calculateColumnWidths()
B
37 21 73
setTitle()
A
45 14 41
getWorksheetAndCoordinate()
A
46 11 35
setCodeName()
A
48 11 32
__clone()
A
50 11 28
rangeToArray()
A
48 10 30
validateNamedRange()
A
51 9 27
mergeCells()
A
47 8 33
createNewCell()
S
52 7 25
fromArray()
S
53 7 23
clearMergeCellsByRow()
S
53 7 22
clearMergeCellsByColumn()
S
53 7 21
duplicateConditionalStyle()
S
54 7 19
freezePane()
S
56 7 18
shrinkRangeToFit()
S
53 6 24
duplicateStyle()
S
53 6 21
checkSheetCodeName()
S
56 6 17
extractSheetTitle()
S
60 6 12
removeRow()
S
53 5 22
cellToArray()
S
56 5 18
getComment()
S
57 5 16
removeComment()
S
59 5 14
removeColumn()
S
52 4 23
garbageCollect()
S
55 4 19
removeColumnDimensions()
S
57 4 17
removeRowDimensions()
S
58 4 16
getChartByIndex()
S
61 4 13
getConditionalStyles()
S
60 4 13
conditionalStylesExists()
S
60 4 13
mergeCellBehaviour()
S
60 4 13
setBreak()
S
61 4 11
getBreaks()
S
60 3 14
setSelectedCells()
S
60 3 14
rebindParent()
S
61 3 13
unmergeCells()
S
60 3 13
namedRangeToArray()
S
59 3 13
getColumnDimension()
S
63 3 11
checkSheetTitle()
S
64 3 9
getCoordinates()
S
66 3 9
getChartByName()
S
67 3 8
getStyleByColumnAndRow()
S
64 3 10
getConditionalRange()
S
64 3 10
setAutoFilter()
S
65 3 9
getTableIndexByName()
S
65 3 9
getHashCode()
S
67 3 7
__construct()
S
56 1 18
disconnectCells()
S
70 2 7
addChart()
S
65 2 9
getChartNames()
S
69 2 7
refreshColumnDimensions()
S
67 2 8
refreshRowDimensions()
S
67 2 8
getParentOrThrow()
S
71 2 6
getHighestColumn()
S
71 2 6
getHighestRow()
S
71 2 6
getCell()
S
63 2 10
getCellOrNull()
S
72 2 6
getRowDimension()
S
68 2 7
protectCells()
S
66 2 8
unprotectCells()
S
65 2 9
getTableNames()
S
69 2 7
getTableByName()
S
74 2 4
removeTableByName()
S
68 2 7
insertNewRowBefore()
S
64 2 9
insertNewColumnBefore()
S
64 2 9
insertNewColumnBeforeByIndex()
S
70 2 6
removeColumnByIndex()
S
70 2 6
getHyperlink()
S
69 2 7
setHyperlink()
S
67 2 8
getDataValidation()
S
69 2 7
setDataValidation()
S
67 2 8
getTabColor()
S
71 2 6
isEmptyRow()
S
64 2 10
isEmptyColumn()
S
64 2 10
__destruct()
S
73 1 5
getCellCollection()
S
82 1 3
getInvalidCharacters()
S
80 1 3
getRowDimensions()
S
82 1 3
getDefaultRowDimension()
S
82 1 3
getColumnDimensions()
S
72 1 5
columnDimensionCompare()
S
79 1 3
getDefaultColumnDimension()
S
82 1 3
getDrawingCollection()
S
82 1 3
getChartCollection()
S
82 1 3
getChartCount()
S
80 1 3
calculateWorksheetDimension()
S
79 1 3
calculateWorksheetDataDimension()
S
79 1 3
getParent()
S
82 1 3
getTitle()
S
82 1 3
getSheetState()
S
82 1 3
setSheetState()
S
77 1 4
getPageSetup()
S
82 1 3
setPageSetup()
S
77 1 4
getPageMargins()
S
82 1 3
setPageMargins()
S
77 1 4
getHeaderFooter()
S
82 1 3
setHeaderFooter()
S
77 1 4
getSheetView()
S
82 1 3
setSheetView()
S
77 1 4
getProtection()
S
82 1 3
setProtection()
S
74 1 5
getHighestDataColumn()
S
80 1 3
getHighestDataRow()
S
80 1 3
getHighestRowAndColumn()
S
81 1 3
setCellValue()
S
72 1 5
setCellValueByColumnAndRow()
S
74 1 4
setCellValueExplicit()
S
72 1 5
setCellValueExplicitByColumnAndRow()
S
74 1 4
getCellByColumnAndRow()
S
79 1 3
cellExists()
S
72 1 5
cellExistsByColumnAndRow()
S
79 1 3
rowDimensionExists()
S
79 1 3
getColumnDimensionByColumn()
S
80 1 3
getStyles()
S
82 1 3
getStyle()
S
70 1 6
removeConditionalStyles()
S
75 1 4
getConditionalStylesCollection()
S
82 1 3
setConditionalStyles()
S
75 1 4
setBreakByColumnAndRow()
S
78 1 3
getRowBreaks()
S
72 1 5
compareRowBreaks()
S
72 1 5
compareColumnBreaks()
S
72 1 5
getColumnBreaks()
S
72 1 5
mergeCellsByColumnAndRow()
S
68 1 7
unmergeCellsByColumnAndRow()
S
69 1 7
getMergeCells()
S
82 1 3
setMergeCells()
S
77 1 4
protectCellsByColumnAndRow()
S
68 1 7
unprotectCellsByColumnAndRow()
S
69 1 7
getProtectedCells()
S
82 1 3
getAutoFilter()
S
82 1 3
setAutoFilterByColumnAndRow()
S
69 1 7
removeAutoFilter()
S
77 1 4
getTableCollection()
S
82 1 3
addTable()
S
73 1 5
removeTableCollection()
S
76 1 4
getFreezePane()
S
82 1 3
setTopLeftCell()
S
77 1 4
freezePaneByColumnAndRow()
S
79 1 3
unfreezePane()
S
80 1 3
getTopLeftCell()
S
82 1 3
getShowGridlines()
S
82 1 3
setShowGridlines()
S
77 1 4
getPrintGridlines()
S
82 1 3
setPrintGridlines()
S
77 1 4
getShowRowColHeaders()
S
82 1 3
setShowRowColHeaders()
S
77 1 4
getShowSummaryBelow()
S
82 1 3
setShowSummaryBelow()
S
77 1 4
getShowSummaryRight()
S
82 1 3
setShowSummaryRight()
S
77 1 4
getComments()
S
82 1 3
setComments()
S
77 1 4
getCommentByColumnAndRow()
S
79 1 3
getActiveCell()
S
82 1 3
getSelectedCells()
S
82 1 3
setSelectedCell()
S
80 1 3
setSelectedCellByColumnAndRow()
S
79 1 3
getRightToLeft()
S
82 1 3
setRightToLeft()
S
77 1 4
toArray()
S
69 1 6
getRowIterator()
S
79 1 3
getColumnIterator()
S
79 1 3
hyperlinkExists()
S
79 1 3
getHyperlinkCollection()
S
82 1 3
dataValidationExists()
S
79 1 3
getDataValidationCollection()
S
82 1 3
resetTabColor()
S
77 1 4
isTabColorSet()
S
80 1 3
copy()
S
81 1 3
getCodeName()
S
82 1 3
hasCodeName()
S
80 1 3
nameRequiresQuotes()
S
78 1 3